complete previous commit


Former-commit-id: fc3318a175d1805d20c169245c9a886e8fd0c70e
Added support for selecting network interface or binding to an IP


Former-commit-id: 48660eb542ad6989d7f66274b60a9c4c8ca05318
Fixing bug with hi resolution timer


Former-commit-id: 31016a65888a07486490baa77fc1566eaa489160