this will not work in the application because i must have a strict control over the bytes sended to the server.
The only way I know is using sockets but it might be there is another way?
I've already done that, without proxy and it is not working, the server expects certain messages and is not able to handle requests in the format of a HTTP-request
then, how must i build the HTTP-request in order to make sure that no request method, empty lines, header fields etc are sended to the server but only the bytes that i want to send?