added additional functionality

untested!
added tcp proxy