Android/Java provides socket APIs for receiving data from TCP server, like:
You can't access TCP headers as explained here: Reading and writing TCP header (options) in Java
The thing is that without monitoring your network, you won't be able to access that information from the Java API.
What you might want to try is looking at this library if you really need the TCP headers http://jnetpcap.com.
This library is able to read the packets in real time. You would just have to match the packet you received with your socket in Java to the correct packet received by the library.