create simple mining environtment to debug network communication
update simpy to version 3.0.5
refactor network communication and use common socket to canalize messages