Refactored Connection.httpPost

Made Connection.httpPost throwable and refactored JournalEntry.Post to be throwable as well. Also cleaned up the handling of response codes.