Work-in-progress service discovery feature

It makes file transfer detect bytestreams proxy, more cool features
based on it to come.