added /log to gitignore
added to_h to message to get the { header: {}, body: {} } hash out
neater error logging