Support for extension methods, getResponseHeader(), and an extra error
Make sync requests not crash / remove associated leak
Empty methods are not allowed