Error handling

PocketException which exposes error info
Fixed POST issue