Moved from tegonal branch of airbrake-java