Major rewrite, now submits authentication data such as MAC addr and
serial along with queries. Also updated api calls to use http verbs. See
server changes.