Fix some errors.

Port in miknode_connect was multiply defined.

Calling miknode_send on a disconnected peer segfaulted.