implement dhcp_options

Details in commit messages. But as an overview:
 * implement dhcp_options
 * return http errors with exceptions
 * small bug fix in headed for error responses.