Merge pull request #3 from Dirble/optimization

Optimization of connection
fixed a bug

Fixed a bug not returning the object (dict) when the address is a boolean.
fixed bug

it didn't get bitrate and other headers from all of the streams. It should work now.
fixed content-type bug

fixed content-type bug
merge fix