Fixed constantness bug.
Other fixes.
TransportInterfaceCallback -> TransportSocketCallback.
Commited with an include hell.