Add http_security and pb_security for 2.0pre3. Closes #89.