Main worker gen_fsm loop will handle incoming tcp data

Earlier attempted to spawn off a pid to do so.
Bumped version to 1.3

Several optimizations, changes in callback from branch
feature/network-partitions