improved HttpField.contains
cleaned up authority handling
improved static encoding strategy