Managed to Wrap java socket stream into a usable form. Can seamlessly use your normal desktop networking code as long as you can read/write to a stream.