adding code to do NAT type detection, plus other changes, see comment below. 

1. updated package dependency to use newer freedom and uproxy-lib
2. Adding server code for NAT detection, and server testing client, both in python. 
3. Update javascript (typescript) code to do NAT type detection. 
4. remove end-2-end testing code. Revised version is now available in uproxy-end-to-end as freedom module. 
Usually client socket does not need to do bind at all. Probably at the time when I wrote this piece, I have to specify a port. In recent version, it works with "0", as it is used in NAT provoking code.