basic tcp proxy working