rearranging HTTP and setting up for archer server