Make libsplice connections negotiate

Add negotiation to the connection function, forcing it to block until
negotiation with the server is complete
Implement basic ncurses based 'editor'

No support for interactive editing at the moment. Simply connects and
negotiates with spliced.