Backported exception handling, boolean values handling fix, updated to last jetty