Ident changes.
Identation.
Added ActiveSupport > 4.1 json decoding.
Tests for new sockopt method.