Return an error code when address/port already in use

This should fix okamstudio/godot#474