open the monitor socket right away
have the monitor be the qmp server rather than qemu
refactor qmp_socket sockpath
refactor qmp accept
sockaddr isn't used
forgot to return the client fd
Merge branch 'devel'

* devel:
  forgot to return the client fd
  sockaddr isn't used
  refactor qmp accept
  refactor qmp_socket sockpath
  have the monitor be the qmp server rather than qemu
  open the monitor socket right away
  simplified reading and writing json
  validate returned json